openapi: '3.0.0'

info:
  description: 'Description'
  version: 'latest'
  title: 'Title'

paths:
  '/api':
    get:
      operationId: getData
      responses:
        200:
          description: OK
          content:
            'application/json':
              schema:
                type: object
                properties:
                  data: { type: string }